package com.pubinfo.passbook.common.service.master.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pubinfo.passbook.common.entity.TMdmContract;
import com.pubinfo.passbook.common.entity.TMdmCostCenterGroup;
import com.pubinfo.passbook.common.mapper.TMdmCostCenterGroupMapper;
import com.pubinfo.passbook.common.model.dto.MDM.MdmCostCenterGroupParam;
import com.pubinfo.passbook.common.model.dto.MDM.MdmParam;
import com.pubinfo.passbook.common.service.master.ITMdmCostCenterGroupService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2021-10-16
 */
@Service
public class TMdmCostCenterGroupServiceImpl extends ServiceImpl<TMdmCostCenterGroupMapper, TMdmCostCenterGroup> implements ITMdmCostCenterGroupService {
  
  @Override
  public IPage<TMdmCostCenterGroup> listMdmCostCenterGroup(MdmCostCenterGroupParam param) {
    IPage<TMdmCostCenterGroup> iPage = page(param.getPage("create_time"));
    return this.baseMapper.listMdmCostCenterGroup(iPage, param);
  }
}
